package com.zx.map.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.zx.map.dao.model.MessageSendLog;
import com.zx.map.dao.model.MessageSendLogExample;

public interface MessageSendLogDao {

	/**
	 * 新增
	 *
	 * @param sessionInfo
	 * @return
	 * @throws org.springframework.dao.DataAccessException
	 */
	public String add(MessageSendLog messageSendLog) throws DataAccessException;

	/**
	 * 更新
	 *
	 * @param sessionInfo
	 * @return
	 * @throws org.springframework.dao.DataAccessException
	 */
	public String update(MessageSendLog messageSendLog) throws DataAccessException;

	/**
	 * 删除
	 *
	 * @param sessionInfo
	 * @throws org.springframework.dao.DataAccessException
	 */
	public void delete(MessageSendLog messageSendLog) throws DataAccessException;
	
	/**
	 * 删除
	 *
	 * @param example
	 * @throws org.springframework.dao.DataAccessException
	 */
	public void deleteByExample(MessageSendLogExample example) throws DataAccessException;

	/**
	 * 根据Model查找List
	 * @param example
	 * @return
	 * @throws org.springframework.dao.DataAccessException
	 */
	public List<MessageSendLog> getListByExample(MessageSendLogExample example) throws DataAccessException;


}